package com.example.demo.service.handler;

import com.example.demo.service.WxUserService;

import java.util.Map;

public abstract class WxMessageAbstractHandler implements IWxMessageHandler {
    static final String EVENT_SUB = "subscribe";//关注事件
    static final String EVENT_SUB_UN = "unsubscribe"; //取消
    protected WxUserService wxUserService;

    @Override
    public void setHandlerService(WxUserService wxUserService) {
        this.wxUserService = wxUserService;
    }

    @Override
    public abstract String handlerMessage(Map<String, String> map);
}
